<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="fm"     
         uri="http://www.springframework.org/tags/form" %>
    
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
    <fm:form action="#" method="post" modelAttribute="bookinfo" enctype="multipart/form-data"> 
    <fm:errors path="name"/><br>
           书籍名称：<fm:input path="name" /><br>
    <fm:errors path="loandate"/><br>
          借出时间：<input type="date" name="loandate">
          书籍类型：
          <fm:radiobutton path="typeid" value="1"/>web前段
          <fm:radiobutton path="typeid" value="2"/>java
          <fm:radiobutton path="typeid" value="3"/>人工智能
          <fm:radiobutton path="typeid" value="4"/>jsp
      <input  type="file" name="a_img">
      <input type="submit" value="提交">
      
      
      
    </fm:form>


</body>
</html>